using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class SysUserroleTable : TableInfo
{
public const string C_TABLENAME = "Sys_Userrole";

public const string C_USERROLEID = "USERROLEID";

public const string C_USERID = "USERID";

public const string C_ROLEID = "ROLEID";

public SysUserroleTable()
{
_tableName = "Sys_Userrole";
}

protected static SysUserroleTable _current;
public static SysUserroleTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new SysUserroleTable();

_current.Add(C_USERROLEID, new ColumnInfo(C_USERROLEID, "", true, typeof(Int32?)));

_current.Add(C_USERID, new ColumnInfo(C_USERID, "", false, typeof(String)));

_current.Add(C_ROLEID, new ColumnInfo(C_ROLEID, "", false, typeof(Int32?)));

}

public ColumnInfo USERROLEID
{
get { return this[C_USERROLEID]; }
}

public ColumnInfo USERID
{
get { return this[C_USERID]; }
}

public ColumnInfo ROLEID
{
get { return this[C_ROLEID]; }
}

}
}